package com.estar.assistsurvy.thread;

import com.estar.assistsurvy.constant.Constants;
import com.estar.assistsurvy.entity.RequestPersonLocation;

import android.content.Context;
import android.os.Handler;
import android.util.Log;

public class PersonLocationThread extends BaseThread {

	private RequestPersonLocation RequestLocation;

	public PersonLocationThread(Context context, Handler handler, RequestPersonLocation requestLocation) {
		super(context, handler);
		RequestLocation = requestLocation;
	}
	
	@Override
	public void run() {
		// TODO Auto-generated method stub
		url_str=Constants.NAMESPACE+Constants.PERSONLOCATION;
		json=gson.toJson(RequestLocation);
		postRequest(url_str, json);
		Log.i("wl", "请求查勘人位置信息返回值"+result);
	}
}
